import { inject } from "vue";
// 默认仓库名
export const storeKey = 'store';
export function useStore(injectKey = storeKey) {
  // 把注入的依赖取出来
  return inject(injectKey);
}